<?php
   session_start();
   $code = getstr($_GET["code"],1);
   if(strtolower($code) != strtolower($_SESSION["imgcode"]))
   {
     echo "false";  
   }
   else
   {
     echo "true";  
   }
?>